﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace WindowsFormsApplication3.Classes
{
	class Days : IComparable<Days>
	{
		//public string GroupName;
		public string data;
		public string vremya;
		public string predmet;
		public string prepod;
		public string mesto;
		public string other;
		public Int64 ToSort1;
		public bool Compare;

		public int CompareTo(Days obj)
		{
			if (this.ToSort1 > obj.ToSort1)
				return 1;
			if (this.ToSort1 < obj.ToSort1)
				return -1;
			else
				return 0;
		}
	}

	class Groups : Days 
	{
		public string GroupName;
		public bool GroupCompared;
		public List<Days> Days { get; set; }

		public Groups()
		{
			GroupName = "";
			Days = new List<Days>();
		}

	}
}